<include file="Public:header" />
<div style="boder:1px solid #ccc;margin:10px 10px 0px 10px;">
    <div style="border:1px solid #ccc;height:40px;padding:0 0 0 20px;line-height:40px;">
           人才招聘 Personnel Recruitment
    </div>
    <div style="border:1px solid #ccc;height:auto;padding:10px 0px 10px 13px;margin-top:5px;"> 
         <table width="100%" cellspacing="0" cellpadding="0">
                <tr>
                <form action="{:U('WebsiteContentCheck/index')}" method="post">
                    <td align="left">
                        <select name="column_id">
					        <option value="0">请选择栏目</option>
                            <foreach name="columnName" item="val">
                                <option value="{$val.id}" <if condition="$val.id eq $column_id">selected</if> >{$val.column_name}</option>
                            </foreach>
                            </select>
                            <input type="submit" name="show" value="显示" />
                    </td>
                </form> 
                <form action="{:U('WebsiteContentCheck/personnelRecruitment')}" method="get">
                    <td align="right">
                        <input type="hidden" name="column_id" value="{$column_id}" />
                        <input id="keyWord" type="text" name="keyWord" size="40" value="搜索关键字为标题名称" style="line-height:19px;color:#ccc;height:19px;margin:0px 5px 0px 0px;" />
                        <input type="submit" name="search" value="搜索" style="margin-right:30px;" />
                    </td>
                </form>
                </tr>
         </table>
    </div>
    <div style="border:1px solid #ccc;margin:5px 0px 5px 0px;padding:5px 10px 5px 10px;">
        <table width="100%">
		      <tr>
                  <td colspan="4">
              <form action="{:U('WebsiteContentCheck/personnelRecruitment')}" method="post">
                       <input type="hidden" name="column_id" value="{$column_id}" />
                       <input type="submit" name="check" value="审核" />
                       <input type="submit" name="look" value="查看" />
                       <input type="reset" value="重置" />
				   </td>
			  </tr>
              <tr>
                  <th width="100">ID</th>
                  <th>标题</th>
                  <th width="40">状态</th>
                  <th width="140">创建时间</th>
                  <th width="65">操作</th>
              </tr>
               <foreach name="newsColumn" item="val">
              <tr>
                  <td><input type="checkbox" name="id[]" value="{$val.id}" />{$val.id}</td>
                  <td>{$val.news_name}</td>
                  <td><if condition="$val.status eq '1'"><b style="color:green">√</b><else/><b style="color:red">×</b></if></td>
                  <td>{$val.create_time}</td>
                  <td>
                      <a href="{:U('WebsiteContentCheck/personnelRecruitment/column_id/'.$val['column_id'].'/check/'.$val['id'])}">审核</a>
                      <a href="{:U('WebsiteContentCheck/showPersonnelRecruitment/column_id/'.$val['column_id'].'/look/'.$val['id'])}">查看</a>
                  </td>
              </tr>
              </foreach>
              <tr>
                  <td colspan="4">{$page}</td>
              </tr>
        </table> 
    </div>
    </form>
</div>
  </body>
  <script type="text/javascript" >
    jq("#keyWord").focusin(function(){
          jq("#keyWord").val("");
          jq("#keyWord").css("color","#000");
    });
  </script>
</html>

